package com.hz.ruoyiequipment;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan(basePackages = {"com.ruoyi.common.redis.service","com.hz.ruoyiequipment.*.mapper"})
@ComponentScan(basePackages = {"com.ruoyi.common.redis","com.hz.ruoyiequipment"})
public class RuoyiEquipmentApplication {

    public static void main(String[] args) {
        SpringApplication.run(RuoyiEquipmentApplication.class, args);
    }

}
